home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
apidev
/
apinst.exe
/
APPF.R
< prev
next >
Wrap
Text File
|
1994-03-17
|
4KB
|
133 lines
resource URES_TYPE_INSTANCE(APP_ID)
{
/* options, native ref, default font, device type, extra */
UR_UNITS_CHARS | UR_RECT_FRAME, DataNone{}, DataFont{ "MS Sans Serif", 8, UR_BOLD}, N_NULL, {},
{
InstApplication
{
/* native key, resource options, childcount */
0, UR_RECT_CONTENT, 0,
/* action code, action params, user data, buf size, buf data, filter */
N_NULL, DataNone {}, N_NULL, 0, DataNone {},
/* Filter */
Filt {UINST_FOPT_VECTOR,
{ N_NULL,
N_NULL,
N_NULL },
{ UINST_F0_CREATE|UINST_F0_ACTION,
N_NULL,
N_NULL },
"AppVector" },
/* item type, data, attrs */
TypeID{UITEM_ID_BASEFONT}, DataStr{ "Application Instance" }, AttrsNone{},
/* Virtual Data */
VirtNone{},
/* style, options, alignment */
UINST_STYLE_SHOW|UINST_STYLE_CLOSEABLE|UINST_STYLE_ICONIZEABLE|UINST_STYLE_SIZEABLE,
N_NULL, N_NULL, N_NULL, N_NULL,
/* frame, selection, mnemonic, cursor */
RectNone , SelNone {}, MnNone {}, DataStd {URES_STD_ARROW_CURS},
/* help desc, help topic, extra */
HelpNone{}, HelpNone{}, {},
/* icon, menu bar, window menu position, size information */
DataRef {"",URES_TYPE_ICON, APP_ICON,N_NULL},
DataRef {"",URES_TYPE_INSTANCE, APP_MENU, N_NULL}, N_NULL, SizeNone {},
/* foreground timer intervals, background timer intervals, help config structure, extra */
0, 0, HelpConfigNone {}, {}
},
}
};
resource URES_TYPE_INSTANCE(APP_MENU)
{
/* options, native ref, default font, device type, extra */
N_NULL, DataNone{ }, DataNone{ }, N_NULL, { },
{
InstMenu
{
0, N_NULL, 0, /* native key, resource options, element count */
/* action code, action params, userdata, bufsize, bufdata, filter */
N_NULL, DataNone{ }, N_NULL, 0, DataNone{ }, FiltNone{ },
/* item type, data, attrs, virtual init */
TypeID{ UITEM_ID_BASEFONT }, DataNone{ }, AttrsNone{ }, VirtNone{ },
/* style, style2, options, options2, alignment */
UINST_STYLE_SHOW | UMENU_STYLE_BAR | UINST_STYLE_ACT_APP, N_NULL,
N_NULL, N_NULL,
N_NULL,
/* frame, selection, mnemonic, cursor, extra */
RectNone, SelNone{ }, MnNone{ }, DataNone{ },
/* help desc, help topic, extra */
HelpNone{ }, HelpNone{ }, { },
/* title type, data, attrs */
TypeID{ UITEM_ID_BASEFONT }, DataNone{ }, AttrsNone{ },
/* UMenuInfo.flStyle, flDefElemStyle, sGridRows, sGridCols, extra */
N_NULL, N_NULL, 0, 0, { }
},
InstMenu
{
0, N_NULL, 1, /* native key, resource options, element count */
/* action code, action params, user data, buf size, buf data, filter */
N_NULL, DataNone{ }, N_NULL, 0, DataNone{ }, FiltNone{ },
/* item type, data, attrs */
TypeID{ UITEM_ID_BASEFONT }, DataNone{ }, AttrsNone{ }, VirtNone{ },
/* style, style2, options, options2, alignment */
UINST_STYLE_SHOW | UMENU_STYLE_CASCADE | UINST_STYLE_ACT_APP, N_NULL,
N_NULL, N_NULL,
N_NULL,
/* frame, selection, mnemonic, cursor, extra */
RectNone, SelNone{ }, MnChar {'F' }, DataNone{ },
/* help desc, help topic, extra */
HelpNone{ }, HelpNone{ }, { },
/* title type, data, attrs */
TypeID{ UITEM_ID_BASEFONT }, DataStr{ "File" }, AttrsNone{ },
/* UMenuInfo.flStyle, flDefElemStyle, sGridRows, sGridCols, extra */
N_NULL, N_NULL, 0, 0, { }
},
InstMenuItem
{
0, N_NULL, /* native key, resource options */
APP_MENU_CLOSE, DataNone{ }, DataStr{ MENU_APP_QUIT_STR }, AttrsNone{ },
/* style, map key code, map key modifiers, mnemonic, extra */
UMENU_ELEM_PUSH, MENU_APP_QUIT_MAPCODE, MENU_APP_QUIT_MAPMODS, MnNone{},
/* help desc, help topic, extra */
HelpNone {}, HelpNone{}, {}
},
}
};